package com.quectel.core.module.alarm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2019-05-31 12:23:34
 */
@Data
@TableName("alarm_rule_condition")
public class AlarmRuleConditionEntity {

    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 所属告警规则
     */
    private Long ruleId;
    /**
     * 所属字段id
     */
    private Long deviceColumnId;

    /**
     * 字段名称
     */
    private String deviceColumnEntityName;
    /**
     * 字段英文名
     */
    private String deviceColumnCnName;

    /**
     * 阈值
     */
    private String quota;
    /**
     *
     */
    @TableField(value = "`condition`")
    private String condition;
    /**
     * 备注
     */
    private String remark;
    /**
     * 扩展字段
     */
    private String future;

}
